<?php
/**
 * Created by PhpStorm.
 * User: fujianguo
 * Date: 2017/3/20
 * Time: 下午4:30
 */

namespace common\models;


class ArchiveDiary extends Archive
{
    public function getAddOn()
    {
        return $this->hasOne(ArchiveAddonDiary::className(),['id'=>'id']);
    }
//	public static $diaryStatusDescArray = [
//		self::STATUS_DELETED => '已删除',
//		self::STATUS_DRAFT => '草稿',
//		self::STATUS_CHECK_PENDING => '待审核',
//		self::STATUS_SECOND_UPDATE => '待二次修改',
//		self::STATUS_ACTIVE => '已发布',
//	];


}